-- GENERATED SPELL FOR [Cragskaar] --


function spell0_20202(pUnit, Event) --@Knock Away,n/a--
pUnit:FullCastSpellOnTarget(32959,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20202', 639, 1)
end

function Sorts_20202(pUnit, Event)
local choix_sorts_20202 = math.random(0, 0)
if choix_sorts_20202 == 0 then
pUnit:RegisterEvent('spell0_20202', 1, 1)
end
end

function mob20202_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20202', math.random(1500, 3000), 1)
end

function mob20202_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20202_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20202_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20202, 1, 'mob20202_Action')
RegisterUnitEvent(20202, 2, 'mob20202_Leave')
RegisterUnitEvent(20202, 3, 'mob20202_Kill')
RegisterUnitEvent(20202, 4, 'mob20202_Die')
